/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/

#define _DEF_CCY_CODE
#define _ZZDEBUG
#define _PROJ_DC

#region Using directives
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;

using Muki.Framework.Util;
using Muki.Framework.Business;
using Muki.Framework;
using Muki.UserDefine;
using Muki.Entity;
using Dot.StreamObject;

#endregion

namespace Muki.UserPanel
{
	public class UID22007AE:EntityObject
	{
				private string _PPO_NO="";
				private Int32 _SERIAL_NO=0;
				private string _BUYER_CODE="";
				private string _VEN_CODE="";
				private string _CAT_CODE="";
				private string _ITEM_NO="";
				private DateTime _PPO_REQ_DATE=DateTime.MinValue;
				private string _CTR_CODE="";
				private bool _ACCEPT_BIT=false;

				[AttributeMapping(TableName="PPODTLM",ColumnName="PPO_NO")]
				public string PPO_NO	{	get { return _PPO_NO; }	set { _PPO_NO = value; } }
				
				[AttributeMapping(TableName="PPODTLM",ColumnName="SERIAL_NO")]
				public Int32 SERIAL_NO	{	get { return _SERIAL_NO; }	set { _SERIAL_NO = value; } }
				
				[AttributeMapping(TableName="PPODTLM",ColumnName="BUYER_CODE")]
				public string BUYER_CODE	{	get { return _BUYER_CODE; }	set { _BUYER_CODE = value; } }
				
				[AttributeMapping(TableName="PPODTLM",ColumnName="VEN_CODE")]
				public string VEN_CODE	{	get { return _VEN_CODE; }	set { _VEN_CODE = value; } }
				
				[AttributeMapping(TableName="PARTBLM",ColumnName="CAT_CODE")]
				public string CAT_CODE	{	get { return _CAT_CODE; }	set { _CAT_CODE = value; } }
				
				[AttributeMapping(TableName="PPODTLM",ColumnName="ITEM_NO")]
				public string ITEM_NO	{	get { return _ITEM_NO; }	set { _ITEM_NO = value; } }
				
				[AttributeMapping(TableName="PPODTLM",ColumnName="PPO_REQ_DATE")]
				public DateTime PPO_REQ_DATE	{	get { return _PPO_REQ_DATE; }	set { _PPO_REQ_DATE = value; } }
				
				[AttributeMapping(TableName="PPODTLM",ColumnName="CTR_CODE")]
				public string CTR_CODE	{	get { return _CTR_CODE; }	set { _CTR_CODE = value; } }
				
				[AttributeMapping(TableName="PPODTLM",ColumnName="ACCEPT_BIT")]
				public bool ACCEPT_BIT	{	get { return _ACCEPT_BIT; }	set { _ACCEPT_BIT = value; } }

		public List<LogisticException> Exceptions=new List<LogisticException>();

		private string _DATA_ATVT_CODE   = "";
		private string _DATA_STATUS_CODE = "Unproven";
		private string _NAVI_STATUS_CODE = "N";
		private string _ATVT_CODE        = "";
		private string _FileUrl        = "";
		private string _DataUrl         = "";

		private string _P_DATA           = "";
		private Wxf    _Wxf              = new Wxf();

		public  string DATA_STATUS_CODE { get { return _DATA_STATUS_CODE; } set { _DATA_STATUS_CODE = value; }  }
		public  string NAVI_STATUS_CODE { get { return _NAVI_STATUS_CODE; } set { _NAVI_STATUS_CODE = value; }  }
		public  string DATA_ATVT_CODE   { get { return _DATA_ATVT_CODE;   } set { _DATA_ATVT_CODE   = value; }  }
		public  string ATVT_CODE        { get { return _ATVT_CODE;        } set { _ATVT_CODE        = value; }  }
		public  string FileUrl         { get { return _FileUrl;         } set { _FileUrl = value;         }  }
		public  string DataUrl          { get { return _DataUrl;         } set { _DataUrl = value;         }  }
		public  string P_DATA           { get { return _P_DATA;           } set { _P_DATA = value;           }  }
		public  Wxf    Wxf              { get { return _Wxf;              } set { _Wxf = value;              }  }
	}
}
